home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8326 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 6e | 74 70 64 32 2e 63 78 6f |Path: nn|tpd2.cxo|
|00000010| 2e 64 65 63 2e 63 6f 6d | 21 75 73 65 6e 65 74 0a |.dec.com|!usenet.|
|00000020| 46 72 6f 6d 3a 20 42 72 | 69 61 6e 20 48 69 62 62 |From: Br|ian Hibb|
|00000030| 65 72 74 20 3c 62 5f 68 | 69 62 62 65 72 74 40 63 |ert <b_h|ibbert@c|
|00000040| 73 63 33 32 2e 65 6e 65 | 74 2e 64 65 63 2e 63 6f |sc32.ene|t.dec.co|
|00000050| 6d 3e 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 63 |m>.Newsg|roups: c|
|00000060| 6f 6d 70 2e 6c 61 6e 67 | 2e 63 2b 2b 0a 53 75 62 |omp.lang|.c++.Sub|
|00000070| 6a 65 63 74 3a 20 52 65 | 3a 20 6f 76 65 72 6c 6f |ject: Re|: overlo|
|00000080| 61 64 69 6e 67 20 66 75 | 6e 63 74 69 6f 6e 20 70 |ading fu|nction p|
|00000090| 72 6f 62 6c 65 6d 0a 44 | 61 74 65 3a 20 31 36 20 |roblem.D|ate: 16 |
|000000a0| 46 65 62 20 31 39 39 36 | 20 32 30 3a 33 35 3a 30 |Feb 1996| 20:35:0|
|000000b0| 34 20 47 4d 54 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |4 GMT.Or|ganizati|
|000000c0| 6f 6e 3a 20 44 69 67 69 | 74 61 6c 20 45 71 75 69 |on: Digi|tal Equi|
|000000d0| 70 6d 65 6e 74 20 43 6f | 72 70 6f 72 61 74 69 6f |pment Co|rporatio|
|000000e0| 6e 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 34 |n.Messag|e-ID: <4|
|000000f0| 67 32 70 70 6f 24 6c 31 | 31 40 6e 6e 74 70 64 32 |g2ppo$l1|1@nntpd2|
|00000100| 2e 63 78 6f 2e 64 65 63 | 2e 63 6f 6d 3e 0a 52 65 |.cxo.dec|.com>.Re|
|00000110| 66 65 72 65 6e 63 65 73 | 3a 20 3c 38 32 34 34 37 |ferences|: <82447|
|00000120| 35 32 33 33 2e 32 34 33 | 36 36 40 61 6e 64 79 61 |5233.243|66@andya|
|00000130| 6e 64 79 2e 64 65 6d 6f | 6e 2e 63 6f 2e 75 6b 3e |ndy.demo|n.co.uk>|
|00000140| 0a 4e 4e 54 50 2d 50 6f | 73 74 69 6e 67 2d 48 6f |.NNTP-Po|sting-Ho|
|00000150| 73 74 3a 20 70 65 6f 31 | 30 31 32 5f 70 6f 72 74 |st: peo1|012_port|
|00000160| 32 2e 70 65 6f 2e 64 65 | 63 2e 63 6f 6d 0a 4d 69 |2.peo.de|c.com.Mi|
|00000170| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|00000180| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 74 65 |Content-|Type: te|
|00000190| 78 74 2f 70 6c 61 69 6e | 3b 20 63 68 61 72 73 65 |xt/plain|; charse|
|000001a0| 74 3d 75 73 2d 61 73 63 | 69 69 0a 43 6f 6e 74 65 |t=us-asc|ii.Conte|
|000001b0| 6e 74 2d 54 72 61 6e 73 | 66 65 72 2d 45 6e 63 6f |nt-Trans|fer-Enco|
|000001c0| 64 69 6e 67 3a 20 37 62 | 69 74 0a 58 2d 4d 61 69 |ding: 7b|it.X-Mai|
|000001d0| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 32 |ler: Moz|illa 1.2|
|000001e0| 4e 20 28 57 69 6e 64 6f | 77 73 3b 20 49 3b 20 31 |N (Windo|ws; I; 1|
|000001f0| 36 62 69 74 29 0a 54 6f | 3a 20 61 6e 64 79 40 61 |6bit).To|: andy@a|
|00000200| 6e 64 79 61 6e 64 79 2e | 64 65 6d 6f 6e 2e 63 6f |ndyandy.|demon.co|
|00000210| 2e 75 6b 0a 0a 61 6e 64 | 79 40 61 6e 64 79 61 6e |.uk..and|y@andyan|
|00000220| 64 79 2e 64 65 6d 6f 6e | 2e 63 6f 2e 75 6b 20 28 |dy.demon|.co.uk (|
|00000230| 41 6e 64 79 20 54 75 72 | 6e 65 72 29 20 77 72 6f |Andy Tur|ner) wro|
|00000240| 74 65 3a 0a 3e 49 20 77 | 61 6e 74 20 74 6f 20 6f |te:.>I w|ant to o|
|00000250| 76 65 72 6c 6f 61 64 20 | 61 20 66 75 6e 63 74 69 |verload |a functi|
|00000260| 6f 6e 20 73 6f 20 74 68 | 61 74 20 69 74 20 68 61 |on so th|at it ha|
|00000270| 73 20 74 77 6f 20 76 65 | 72 73 69 6f 6e 73 20 62 |s two ve|rsions b|
|00000280| 75 74 20 74 68 65 0a 3e | 61 72 67 75 6d 65 6e 74 |ut the.>|argument|
|00000290| 73 20 72 65 73 6f 6c 76 | 65 20 74 6f 20 74 68 65 |s resolv|e to the|
|000002a0| 20 73 61 6d 65 20 74 68 | 69 6e 67 20 69 65 3a 0a | same th|ing ie:.|
|000002b0| 3e 0a 3e 09 70 72 69 76 | 61 74 65 3a 0a 3e 09 09 |>.>.priv|ate:.>..|
|000002c0| 43 45 6e 74 72 79 20 2a | 47 65 74 45 6e 74 72 79 |CEntry *|GetEntry|
|000002d0| 20 28 55 49 4e 54 29 3b | 0a 3e 09 09 43 45 6e 74 | (UINT);|.>..CEnt|
|000002e0| 72 79 20 2a 47 65 74 45 | 6e 74 72 79 20 28 41 54 |ry *GetE|ntry (AT|
|000002f0| 4f 4d 29 3b 0a 3e 0a 3e | 74 68 65 20 70 72 6f 62 |OM);.>.>|the prob|
|00000300| 6c 65 6d 20 69 73 20 74 | 68 61 74 20 74 68 65 20 |lem is t|hat the |
|00000310| 41 54 4f 4d 20 69 73 20 | 61 63 74 75 61 6c 6c 79 |ATOM is |actually|
|00000320| 0a 3e 0a 3e 23 64 65 66 | 69 6e 65 20 41 54 4f 4d |.>.>#def|ine ATOM|
|00000330| 20 55 49 4e 54 0a 3e 0a | 3e 6f 72 20 73 6f 6d 65 | UINT.>.|>or some|
|00000340| 74 68 69 6e 67 20 6c 69 | 6b 65 20 74 68 61 74 2c |thing li|ke that,|
|00000350| 20 73 6f 20 69 74 20 74 | 68 69 6e 6b 73 20 49 27 | so it t|hinks I'|
|00000360| 6d 20 64 65 63 6c 61 72 | 69 6e 67 20 74 68 65 20 |m declar|ing the |
|00000370| 73 61 6d 65 20 66 75 6e | 63 74 69 6f 6e 2e 0a 3e |same fun|ction..>|
|00000380| 49 73 20 74 68 65 72 65 | 20 61 6e 79 77 61 79 20 |Is there| anyway |
|00000390| 6f 66 20 74 65 6c 6c 69 | 6e 67 20 69 74 20 74 68 |of telli|ng it th|
|000003a0| 65 20 64 69 73 74 69 6e | 63 74 69 6f 6e 3f 20 49 |e distin|ction? I|
|000003b0| 27 76 65 20 74 72 69 65 | 64 20 75 73 69 6e 67 20 |'ve trie|d using |
|000003c0| 0a 3e 0a 3e 23 64 65 66 | 69 6e 65 20 53 54 52 49 |.>.>#def|ine STRI|
|000003d0| 43 54 0a 3e 0a 3e 62 75 | 74 20 69 74 20 73 65 65 |CT.>.>bu|t it see|
|000003e0| 6d 73 20 74 6f 20 68 61 | 76 65 20 6e 6f 20 65 66 |ms to ha|ve no ef|
|000003f0| 66 65 63 74 2e 0a 3e 0a | 3e 41 6e 64 79 54 0a 3e |fect..>.|>AndyT.>|
|00000400| 0a 3e 61 6e 64 79 40 61 | 6e 64 79 61 6e 64 79 2e |.>andy@a|ndyandy.|
|00000410| 64 65 6d 6f 6e 2e 63 6f | 2e 75 6b 0a 0a 54 68 65 |demon.co|.uk..The|
|00000420| 72 65 20 69 73 20 6e 6f | 20 64 69 66 66 65 72 65 |re is no| differe|
|00000430| 6e 63 65 20 62 65 74 77 | 65 65 6e 20 61 6e 20 41 |nce betw|een an A|
|00000440| 54 4f 4d 20 61 6e 64 20 | 61 20 55 49 4e 54 20 69 |TOM and |a UINT i|
|00000450| 6e 20 74 68 65 20 63 6f | 64 65 20 79 6f 75 20 68 |n the co|de you h|
|00000460| 61 76 65 20 0a 6c 69 73 | 74 65 64 20 61 62 6f 76 |ave .lis|ted abov|
|00000470| 65 2e 20 20 54 68 65 20 | 23 64 65 66 69 6e 65 20 |e. The |#define |
|00000480| 69 73 20 61 20 70 72 65 | 70 72 6f 63 65 73 73 6f |is a pre|processo|
|00000490| 72 20 64 69 72 65 63 74 | 69 76 65 20 74 68 61 74 |r direct|ive that|
|000004a0| 20 74 65 6c 6c 73 20 74 | 68 65 20 0a 70 72 65 70 | tells t|he .prep|
|000004b0| 72 6f 63 65 73 73 6f 72 | 20 74 6f 20 72 65 70 6c |rocessor| to repl|
|000004c0| 61 63 65 20 6f 63 63 75 | 72 61 6e 63 65 73 20 6f |ace occu|rances o|
|000004d0| 66 20 74 68 65 20 77 6f | 72 64 20 41 54 4f 4d 20 |f the wo|rd ATOM |
|000004e0| 77 69 74 68 20 74 68 65 | 20 77 6f 72 64 20 55 49 |with the| word UI|
|000004f0| 4e 54 2e 0a 0a 42 79 20 | 74 68 65 20 74 69 6d 65 |NT...By |the time|
|00000500| 20 74 68 65 20 63 6f 6d | 70 69 6c 65 72 20 67 65 | the com|piler ge|
|00000510| 74 73 20 74 6f 20 72 75 | 6e 20 74 68 72 6f 75 67 |ts to ru|n throug|
|00000520| 68 20 74 68 65 20 63 6f | 64 65 2c 20 69 74 20 69 |h the co|de, it i|
|00000530| 73 20 73 65 65 69 6e 67 | 20 32 20 0a 69 64 65 6e |s seeing| 2 .iden|
|00000540| 74 69 63 61 6c 20 66 75 | 6e 63 74 69 6f 6e 20 64 |tical fu|nction d|
|00000550| 65 63 6c 61 72 61 74 69 | 6f 6e 73 2e 20 20 54 68 |eclarati|ons. Th|
|00000560| 65 72 65 20 69 73 20 6e | 6f 20 77 61 79 20 74 6f |ere is n|o way to|
|00000570| 20 6f 76 65 72 6c 6f 61 | 64 20 61 20 66 75 6e 63 | overloa|d a func|
|00000580| 74 69 6f 6e 20 0a 77 69 | 74 68 20 61 6e 6f 74 68 |tion .wi|th anoth|
|00000590| 65 72 20 66 75 6e 63 74 | 69 6f 6e 20 74 68 61 74 |er funct|ion that|
|000005a0| 20 68 61 73 20 74 68 65 | 20 73 61 6d 65 20 73 69 | has the| same si|
|000005b0| 67 6e 61 74 75 72 65 2e | 0a 0a 0a 0a 2d 2d 20 0a |gnature.|....-- .|
|000005c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|000005f0| 42 72 69 61 6e 20 48 69 | 62 62 65 72 74 20 20 62 |Brian Hi|bbert b|
|00000600| 5f 68 69 62 62 65 72 74 | 40 63 73 63 33 32 2e 65 |_hibbert|@csc32.e|
|00000610| 6e 65 74 2e 64 65 63 2e | 63 6f 6d 0a 44 69 67 69 |net.dec.|com.Digi|
|00000620| 74 61 6c 20 45 71 75 69 | 70 6d 65 6e 74 20 43 6f |tal Equi|pment Co|
|00000630| 72 70 6f 72 61 74 69 6f | 6e 0a 41 6c 6c 20 6f 70 |rporatio|n.All op|
|00000640| 69 6e 69 6f 6e 73 20 65 | 78 70 72 65 73 73 65 64 |inions e|xpressed|
|00000650| 20 61 72 65 20 6d 79 20 | 6f 77 6e 20 61 6e 64 20 | are my |own and |
|00000660| 73 68 6f 75 6c 64 0a 6e | 6f 74 20 62 65 20 61 73 |should.n|ot be as|
|00000670| 73 75 6d 65 64 20 74 6f | 20 62 65 20 74 68 65 20 |sumed to| be the |
|00000680| 6f 70 69 6e 69 6f 6e 20 | 6f 66 20 6d 79 20 65 6d |opinion |of my em|
|00000690| 70 6c 6f 79 65 72 0a 0a | 0a 0a 0a 0a 0a 0a 0a 0a |ployer..|........|
|000006a0| 0a 0a 0a 0a 0a 0a 0a 0a | 0a 0a 0a 0a |........|.... |
+--------+-------------------------+-------------------------+--------+--------+